<style>
	@import url('../static/css/projectuser.css');
</style>
<template>
	<!-- 公共头部 -->
	<view>
		<my-header :title="toptitle" :lefticon="'left'"></my-header>
	</view>
	<!-- 骨架 -->
	<uni-skeleton animated :loading="loading"></uni-skeleton>
	<!-- 我的 -->
	<view class="content" v-show='!loading'>
		<view class="lista">
			<view   :class="type==1?'active':''"   @click="getdata(1)">{{lang.philology}}</view>
			<view   :class="type==2?'active':''"   @click="getdata(2)">{{lang.mathematics}}</view>
		</view>
		
		<pages-empty :tips="lang.nodata" status="empty" v-show="!list.length"></pages-empty>
		<view class="projectuser" v-show="list.length">
			
			
			<view class="lista">
				<text>{{lang.designation}}</text>
				<text v-show="type==1">{{lang.speed}}</text>
				<text   v-show="type==1">{{lang.accuracy}}</text>
				<text    v-show="type==2">{{lang.minimum}}</text>
				<text>{{lang.time}}</text>
			
			</view>
			
			
			<view class="projectuser_list" v-for="(item,index) in list">
				<navigator :url="url+'?id='+item.id+'&ifsee='+ifsee+'&userid='+userid" open-type="redirect">
					<view class="projectuser_list_view">
						<view class="overflow left xzcm" >{{item.project_name}}</view>
						
						<view class="overflow left xzcmb" v-show="type==1">{{item.reading_speed+lang.wordperminute}}</view>
						<view class="overflow left xzcmb" v-show="type==1">{{item.allscore}}%</view>
						
						<view class="overflow left xzcmc" v-show="type==2">{{item.allscore}}</view>
						
						
						
						<view class="overflow right xzcmd">{{item.addtime}}</view>
					</view>
				</navigator>
			</view>
		</view>
		<view>
			<Tabbar :current="'2'"></Tabbar>
		</view>
	</view>
</template>
<script type="module" src="../static/js/projectuser.js"></script>